package com.songkun.template.config;

import com.songkun.template.config.manager.PageManager;

import java.io.File;


/**
 * @描述: App整体控制器
 * @项目名: AndroidTemplate
 * @包名: com.songkun.template.config
 * @类名:
 * @作者: soongkun
 * @创建时间: 2016/4/29 13:16
 */

public class AppController {

    private PageManager pageManager;

    private static AppController instance;


    private AppController(){
        // 界面管理初始化
        pageManager = new PageManager();
    }

    public static AppController getInstance(){

        synchronized (AppController.class){

            if(null == instance){
                instance = new AppController();
            }
        }

        return instance;
    }

    public PageManager getPageManager(){
        return pageManager;
    }

}
